package org.goyo.main.domain.entity.system;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

/**
 * 用户组织表
 * 
 * @author chenchuan
 * 2014年11月2日
 */
@Entity
public class SysUserDepGroup implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Id
	@GenericGenerator(name = "generator", strategy = "org.hibernate.id.UUIDGenerator")
	@GeneratedValue(generator = "generator")
	private String uuid;
	
	@Column
	private String userId;
	
	@Column
	private String depGroupId;

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDepGroupId() {
		return depGroupId;
	}

	public void setDepGroupId(String depGroupId) {
		this.depGroupId = depGroupId;
	}
	
	
	
}
